﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="EditUserInfo.aspx.cs" Inherits="SDZJ.ManagerView.SystemManager.EditUserInfo" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>用户信息修改</title>
    <link href="../style/css.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="../../Scripts/jquery-1.4.1-vsdoc.js"></script>
    <script type="text/javascript" src="../../Scripts/jquery-1.4.1.js"></script>
    <script type="text/javascript"  src="../../Scripts/jquery-1.5.1.min.js"></script>
     <script type="text/javascript"  src="../../Scripts/jquery-ui-1.8.11.custom.min.js"></script>
     <script>
         function closeDiv() {

             parent.flashPage();
             parent.closewin();
             
         }

         function checkvalue() {

             if ($("#userName").val() == "") {
                 alert("请输入用户名称！");
                 return false;
             }
             if ($("#niceName").val() == "") {
                 alert("请输入昵称！");
                 return false;
             }
             if ($("#password1").val() == "") {
                 alert("请输入密码！");
                 return false;
             }
             if ($("#password").val() == "") {
                 alert("请输入确认密码！");
                 return false;
             }
             if ($("#password1").val() != $("#password").val()) {
                 alert("两次输入的密码不一致");
                 return false;
             }
             return true;
         }
     </script>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <table width="300" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td background="../images/bor04.gif"></td>
    <td align="center" valign="top" bgcolor="#c6d4e4" >
   	<div class="set_bg" style="padding-top:3px;"><img src="../images/lines01.gif" width="2" height="13" hspace="5" align="absmiddle">
   	       <asp:ImageButton ID="ImageButton1" width="51" height="23" hspace="5" 
            border="0" align="absmiddle" 
                                   runat="server" 
            ImageUrl="~/ManagerView/images/button04.gif" onclick="ImageButton1_Click"  OnClientClick="return checkvalue();"/>

     <img src="../images/button05.gif" width="51" height="23" hspace="5" align="absmiddle" onclick="closeDiv()">
	</div>
    <table width="100%" height="180" border="0" cellpadding="3" cellspacing="0" class="add_center">
      <tr>
        <td width="24%" height="30" align="center" valign="middle">用户名:</td>
        <td width="76%" valign="middle" align="left">
            <asp:TextBox ID="userName" runat="server" class="input_bg01" size="20"></asp:TextBox>
        </td>
      </tr>
      
     <tr>
        <td width="24%" height="30" align="center" valign="middle">昵称:</td>
        <td width="76%" valign="middle"  align="left">
        <asp:TextBox ID="niceName" runat="server" class="input_bg01" size="20"></asp:TextBox>
        </td>
      </tr>
	<tr>
        <td width="24%" height="30" align="center" valign="middle">密码:</td>
        <td width="76%" valign="middle"  align="left">
                <asp:TextBox ID="password" runat="server" class="input_bg01" TextMode="Password" size="20"></asp:TextBox>
        </td>
      </tr>
	<tr>
        <td width="24%" height="30" align="center" valign="middle">确认密码:</td>
        <td width="76%" valign="middle"  align="left">        
         <asp:TextBox ID="password1" runat="server" class="input_bg01"  TextMode="Password" size="20"></asp:TextBox>
        </td>
      </tr>	
	<tr>
        <td width="24%" height="30" align="center" valign="middle"></td>
        <td width="76%" valign="absmiddle"  align="left">
           <asp:CheckBox ID="isEnable" runat="server"  Text="是否禁用"/>
        </td>
      </tr>
	<tr>
        <td width="24%" height="30" align="center" valign="middle"></td>
        <td width="76%" valign="absmiddle"  align="left"><asp:CheckBox ID="isLock" runat="server"  Text="是否锁定"/></td>
      </tr>
      </table>

	</td>
      <td background="../images/bor05.gif"></td>
  </tr>
</table>
     <input type="hidden" id="usid" runat="server" />
    </div>
    </form>
</body>
</html>
